package com.junqi.live.room.domain.convert;

import com.junqi.live.room.domain.bo.LiveRoomBo;
import com.junqi.live.room.domain.bo.LiveTypeBo;
import com.junqi.live.room.infra.basic.entity.LiveRoom;
import com.junqi.live.room.infra.basic.entity.LiveType;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface LiveTypeBoConvert {

    LiveTypeBoConvert INSTANCE = Mappers.getMapper(LiveTypeBoConvert.class);

    LiveType convertBOToEntity(LiveTypeBo liveTypeBo);

    LiveTypeBo convertEntityToBO(LiveType liveType);

}
